<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow: flow::async::Timed_single_thread_task_loop Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow<span id="projectnumber">&#160;2.0.0</span>
   </div>
   <div id="projectbrief">Flow project: Public API.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceflow.html">flow</a></li><li class="navelem"><a class="el" href="namespaceflow_1_1async.html">async</a></li><li class="navelem"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html">Timed_single_thread_task_loop</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classflow_1_1async_1_1Timed__single__thread__task__loop-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">flow::async::Timed_single_thread_task_loop Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Identical to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a>, but all tasks posted through it are automatically timed, with the result accessible via <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>.  
 <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#details">More...</a></p>

<p><code>#include &lt;single_thread_task_loop.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for flow::async::Timed_single_thread_task_loop:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classflow_1_1async_1_1Timed__single__thread__task__loop__inherit__graph.svg" width="331" height="203"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for flow::async::Timed_single_thread_task_loop:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classflow_1_1async_1_1Timed__single__thread__task__loop__coll__graph.svg" width="331" height="203"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0318c7769d31232ec7b0c0ad0d8ad88f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a0318c7769d31232ec7b0c0ad0d8ad88f">Timed_single_thread_task_loop</a> (<a class="el" href="classflow_1_1log_1_1Logger.html">log::Logger</a> *logger_ptr, <a class="el" href="namespaceflow_1_1util.html#ae4dc52186797094b3040379ff19124c9">util::String_view</a> nickname, <a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0">perf::Clock_type</a> clock_type=<a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0a93867c73fb6ef991268c0052153344c2">perf::Clock_type::S_CPU_THREAD_TOTAL_HI_RES</a>)</td></tr>
<tr class="memdesc:a0318c7769d31232ec7b0c0ad0d8ad88f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs object, similarly to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a> ctor; but with timing capabilities a-la <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop.html" title="Decorates a general – potentially multi-threaded – Concurrent_task_loop of any kind but with timing c...">Timed_concurrent_task_loop</a> ctor.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a0318c7769d31232ec7b0c0ad0d8ad88f">More...</a><br /></td></tr>
<tr class="separator:a0318c7769d31232ec7b0c0ad0d8ad88f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc6c8e2d94c5387bfd4e49795244feb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#aafc6c8e2d94c5387bfd4e49795244feb">post</a> (<a class="el" href="namespaceflow_1_1async.html#af35fb65bdea1a3a92929ec2c4a6a6b72">Task</a> &amp;&amp;task, <a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485">Synchronicity</a> synchronicity=<a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485a4d7a5700444c0570af37b1f9bcc6eb1f">Synchronicity::S_ASYNC</a>) override</td></tr>
<tr class="memdesc:aafc6c8e2d94c5387bfd4e49795244feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#aafc6c8e2d94c5387bfd4e49795244feb">More...</a><br /></td></tr>
<tr class="separator:aafc6c8e2d94c5387bfd4e49795244feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afed368e611529a648a7dd2999a89ab0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#afed368e611529a648a7dd2999a89ab0d">schedule_from_now</a> (const <a class="el" href="namespaceflow.html#a48799f1263cdeedec125be51a3db2b79">Fine_duration</a> &amp;from_now, <a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;task) override</td></tr>
<tr class="memdesc:afed368e611529a648a7dd2999a89ab0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#afed368e611529a648a7dd2999a89ab0d">More...</a><br /></td></tr>
<tr class="separator:afed368e611529a648a7dd2999a89ab0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939142533e48fc54040825aad2010121"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a939142533e48fc54040825aad2010121">schedule_at</a> (const <a class="el" href="namespaceflow.html#a9d9cc2eeb10d398cff5591d446b763b8">Fine_time_pt</a> &amp;at, <a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;task) override</td></tr>
<tr class="memdesc:a939142533e48fc54040825aad2010121"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a939142533e48fc54040825aad2010121">More...</a><br /></td></tr>
<tr class="separator:a939142533e48fc54040825aad2010121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae429fb31d17d422306cd9da398e53e5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflow_1_1perf.html#a38e42ae0923eb23052e3a8a1e7956456">perf::Duration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c">accumulated_time</a> ()</td></tr>
<tr class="memdesc:ae429fb31d17d422306cd9da398e53e5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a45c91b87a9906781479e2387f2f93573" title="Returns the accumulated time spent on tasks this thread pool handles since its last invocation; and r...">Timed_concurrent_task_loop_impl::accumulated_time()</a>.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c">More...</a><br /></td></tr>
<tr class="separator:ae429fb31d17d422306cd9da398e53e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37f2f0d5c163cc1d0b56213ebb080af0"><td class="memTemplParams" colspan="2">template&lt;typename Handler &gt; </td></tr>
<tr class="memitem:a37f2f0d5c163cc1d0b56213ebb080af0"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a37f2f0d5c163cc1d0b56213ebb080af0">asio_handler_timed</a> (Handler &amp;&amp;handler_moved)</td></tr>
<tr class="memdesc:a37f2f0d5c163cc1d0b56213ebb080af0"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a9e915ee364537114a9e2f50574d960b7" title="Given a boost.asio completion handler handler for a boost.asio async_*() action on some boost....">Timed_concurrent_task_loop_impl::asio_handler_timed()</a>.  <a href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a37f2f0d5c163cc1d0b56213ebb080af0">More...</a><br /></td></tr>
<tr class="separator:a37f2f0d5c163cc1d0b56213ebb080af0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflow_1_1async_1_1Single__thread__task__loop')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html">flow::async::Single_thread_task_loop</a></td></tr>
<tr class="memitem:aea2bba204b5d18c3f87d05a4ca19a13f inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#aea2bba204b5d18c3f87d05a4ca19a13f">Single_thread_task_loop</a> (<a class="el" href="classflow_1_1log_1_1Logger.html">log::Logger</a> *logger_ptr, <a class="el" href="namespaceflow_1_1util.html#ae4dc52186797094b3040379ff19124c9">util::String_view</a> nickname)</td></tr>
<tr class="memdesc:aea2bba204b5d18c3f87d05a4ca19a13f inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs object, making it available for <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae" title="Cause the given Task (function) to execute within the worker thread as soon as the thread is free of ...">post()</a> and similar work, but without starting any thread and hence without the ability to perform any work; call <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0886e7f19d0c8b19f74851578802a5e5" title="Starts the 1 thread in the thread pool; any queued post()ed (and similar) tasks may begin executing i...">start()</a> to spawn 1 thread and perform work.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#aea2bba204b5d18c3f87d05a4ca19a13f">More...</a><br /></td></tr>
<tr class="separator:aea2bba204b5d18c3f87d05a4ca19a13f inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f7b9eabdfc366e0a6fa46abbcf5047 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a74f7b9eabdfc366e0a6fa46abbcf5047">~Single_thread_task_loop</a> () override</td></tr>
<tr class="memdesc:a74f7b9eabdfc366e0a6fa46abbcf5047 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#aad1053b2d86401d34fd3658630064135" title="Waits for the ongoing task/completion handler – if one is running – to return; then prevents any furt...">stop()</a> &ndash; see its doc header please &ndash; and then cleans up any resources.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a74f7b9eabdfc366e0a6fa46abbcf5047">More...</a><br /></td></tr>
<tr class="separator:a74f7b9eabdfc366e0a6fa46abbcf5047 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0886e7f19d0c8b19f74851578802a5e5 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0886e7f19d0c8b19f74851578802a5e5">start</a> (<a class="el" href="namespaceflow_1_1async.html#af35fb65bdea1a3a92929ec2c4a6a6b72">Task</a> &amp;&amp;init_task_or_empty=<a class="el" href="namespaceflow_1_1async.html#af35fb65bdea1a3a92929ec2c4a6a6b72">Task</a>())</td></tr>
<tr class="memdesc:a0886e7f19d0c8b19f74851578802a5e5 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the 1 thread in the thread pool; any queued <code><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae" title="Cause the given Task (function) to execute within the worker thread as soon as the thread is free of ...">post()</a></code>ed (and similar) tasks may begin executing immediately; and any future posted work may execute in this thread.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a0886e7f19d0c8b19f74851578802a5e5">More...</a><br /></td></tr>
<tr class="separator:a0886e7f19d0c8b19f74851578802a5e5 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad1053b2d86401d34fd3658630064135 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#aad1053b2d86401d34fd3658630064135">stop</a> ()</td></tr>
<tr class="memdesc:aad1053b2d86401d34fd3658630064135 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits for the ongoing task/completion handler &ndash; if one is running &ndash; to return; then prevents any further-queued such tasks from running; then gracefully stops/joins the worker thread; and then returns.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#aad1053b2d86401d34fd3658630064135">More...</a><br /></td></tr>
<tr class="separator:aad1053b2d86401d34fd3658630064135 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaf7dbd5fbd6ee7c886daabc7a6ad0ae inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae">post</a> (<a class="el" href="namespaceflow_1_1async.html#af35fb65bdea1a3a92929ec2c4a6a6b72">Task</a> &amp;&amp;task, <a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485">Synchronicity</a> synchronicity=<a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485a4d7a5700444c0570af37b1f9bcc6eb1f">Synchronicity::S_ASYNC</a>)</td></tr>
<tr class="memdesc:adaf7dbd5fbd6ee7c886daabc7a6ad0ae inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cause the given <code>Task</code> (function) to execute within the worker thread as soon as the thread is free of other queued tasks/completion handlers, in first-come-first-served fashion.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae">More...</a><br /></td></tr>
<tr class="separator:adaf7dbd5fbd6ee7c886daabc7a6ad0ae inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2669021fe545a05ced370f09ce794f52 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a2669021fe545a05ced370f09ce794f52">schedule_from_now</a> (const <a class="el" href="namespaceflow.html#a48799f1263cdeedec125be51a3db2b79">Fine_duration</a> &amp;from_now, <a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;task)</td></tr>
<tr class="memdesc:a2669021fe545a05ced370f09ce794f52 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equivalent to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae" title="Cause the given Task (function) to execute within the worker thread as soon as the thread is free of ...">post()</a> but execution is scheduled for later, after the given time period passes.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a2669021fe545a05ced370f09ce794f52">More...</a><br /></td></tr>
<tr class="separator:a2669021fe545a05ced370f09ce794f52 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fff7cd79132c92a03e46be93f7f53b8 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0fff7cd79132c92a03e46be93f7f53b8">schedule_at</a> (const <a class="el" href="namespaceflow.html#a9d9cc2eeb10d398cff5591d446b763b8">Fine_time_pt</a> &amp;at, <a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;task)</td></tr>
<tr class="memdesc:a0fff7cd79132c92a03e46be93f7f53b8 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equivalent to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a2669021fe545a05ced370f09ce794f52" title="Equivalent to post() but execution is scheduled for later, after the given time period passes.">schedule_from_now()</a> except one specifies an absolute time point instead of wait duration.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a0fff7cd79132c92a03e46be93f7f53b8">More...</a><br /></td></tr>
<tr class="separator:a0fff7cd79132c92a03e46be93f7f53b8 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324d656809aede5492a4767a4ee8cdf6 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceflow_1_1async.html#a968806f54b14c697fd76b3339a2bdbbf">Task_engine_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a324d656809aede5492a4767a4ee8cdf6">task_engine</a> ()</td></tr>
<tr class="memdesc:a324d656809aede5492a4767a4ee8cdf6 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to <em>the</em> internal <a class="el" href="namespaceflow_1_1util.html#ac3e89a8a271b0ddc76ac2a0ce488dea4" title="Short-hand for boost.asio event service, the central class of boost.asio.">util::Task_engine</a> (a/k/a boost.asio <code>io_context</code>) for the purpose of performing a boost.asio <code>async_*()</code> action on some boost.asio I/O object in the immediate near future.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a324d656809aede5492a4767a4ee8cdf6">More...</a><br /></td></tr>
<tr class="separator:a324d656809aede5492a4767a4ee8cdf6 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac282eacf6615eca207ce3cc74f419933 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#ac282eacf6615eca207ce3cc74f419933">in_thread</a> () const</td></tr>
<tr class="memdesc:ac282eacf6615eca207ce3cc74f419933 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if and only if the thread executing this call is the thread started by <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0886e7f19d0c8b19f74851578802a5e5" title="Starts the 1 thread in the thread pool; any queued post()ed (and similar) tasks may begin executing i...">start()</a>.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#ac282eacf6615eca207ce3cc74f419933">More...</a><br /></td></tr>
<tr class="separator:ac282eacf6615eca207ce3cc74f419933 inherit pub_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classflow_1_1log_1_1Log__context"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflow_1_1log_1_1Log__context')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflow_1_1log_1_1Log__context.html">flow::log::Log_context</a></td></tr>
<tr class="memitem:ae7100d2dd130d8f130e3e64fdb1f4fd9 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#ae7100d2dd130d8f130e3e64fdb1f4fd9">Log_context</a> (<a class="el" href="classflow_1_1log_1_1Logger.html">Logger</a> *logger=0)</td></tr>
<tr class="memdesc:ae7100d2dd130d8f130e3e64fdb1f4fd9 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs <a class="el" href="classflow_1_1log_1_1Log__context.html" title="Convenience class that simply stores a Logger and/or Component passed into a constructor; and returns...">Log_context</a> by storing the given pointer to a <a class="el" href="classflow_1_1log_1_1Logger.html" title="Interface that the user should implement, passing the implementing Logger into logging classes (Flow&#39;...">Logger</a> and a null <a class="el" href="classflow_1_1log_1_1Component.html" title="A light-weight class, each object storing a component payload encoding an enum value from enum type o...">Component</a>.  <a href="classflow_1_1log_1_1Log__context.html#ae7100d2dd130d8f130e3e64fdb1f4fd9">More...</a><br /></td></tr>
<tr class="separator:ae7100d2dd130d8f130e3e64fdb1f4fd9 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ac7f30ab442c3c6aa6079335df6c9a inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memTemplParams" colspan="2">template&lt;typename Component_payload &gt; </td></tr>
<tr class="memitem:af1ac7f30ab442c3c6aa6079335df6c9a inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#af1ac7f30ab442c3c6aa6079335df6c9a">Log_context</a> (<a class="el" href="classflow_1_1log_1_1Logger.html">Logger</a> *logger, Component_payload component_payload)</td></tr>
<tr class="memdesc:af1ac7f30ab442c3c6aa6079335df6c9a inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs <a class="el" href="classflow_1_1log_1_1Log__context.html" title="Convenience class that simply stores a Logger and/or Component passed into a constructor; and returns...">Log_context</a> by storing the given pointer to a <a class="el" href="classflow_1_1log_1_1Logger.html" title="Interface that the user should implement, passing the implementing Logger into logging classes (Flow&#39;...">Logger</a> and a new <a class="el" href="classflow_1_1log_1_1Component.html" title="A light-weight class, each object storing a component payload encoding an enum value from enum type o...">Component</a> storing the specified generically typed payload (an <code>enum</code> value).  <a href="classflow_1_1log_1_1Log__context.html#af1ac7f30ab442c3c6aa6079335df6c9a">More...</a><br /></td></tr>
<tr class="separator:af1ac7f30ab442c3c6aa6079335df6c9a inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c57a7f44959a01ca9a1c948a6686cc0 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#a5c57a7f44959a01ca9a1c948a6686cc0">Log_context</a> (const <a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;src)</td></tr>
<tr class="memdesc:a5c57a7f44959a01ca9a1c948a6686cc0 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor that stores equal <code>Logger*</code> and <a class="el" href="classflow_1_1log_1_1Component.html" title="A light-weight class, each object storing a component payload encoding an enum value from enum type o...">Component</a> values as the source.  <a href="classflow_1_1log_1_1Log__context.html#a5c57a7f44959a01ca9a1c948a6686cc0">More...</a><br /></td></tr>
<tr class="separator:a5c57a7f44959a01ca9a1c948a6686cc0 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d4e624833d96bdafa1485ffff472509 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#a3d4e624833d96bdafa1485ffff472509">Log_context</a> (<a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;&amp;src)</td></tr>
<tr class="memdesc:a3d4e624833d96bdafa1485ffff472509 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor that makes this equal to <code>src</code>, while the latter becomes as-if default-constructed.  <a href="classflow_1_1log_1_1Log__context.html#a3d4e624833d96bdafa1485ffff472509">More...</a><br /></td></tr>
<tr class="separator:a3d4e624833d96bdafa1485ffff472509 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d628315d5a93908d47a281980d3113e inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#a5d628315d5a93908d47a281980d3113e">operator=</a> (const <a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;src)</td></tr>
<tr class="memdesc:a5d628315d5a93908d47a281980d3113e inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator that behaves similarly to the copy constructor.  <a href="classflow_1_1log_1_1Log__context.html#a5d628315d5a93908d47a281980d3113e">More...</a><br /></td></tr>
<tr class="separator:a5d628315d5a93908d47a281980d3113e inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae857197aecba8606c32296bc7bec308 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#aae857197aecba8606c32296bc7bec308">operator=</a> (<a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;&amp;src)</td></tr>
<tr class="memdesc:aae857197aecba8606c32296bc7bec308 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator that behaves similarly to the move constructor.  <a href="classflow_1_1log_1_1Log__context.html#aae857197aecba8606c32296bc7bec308">More...</a><br /></td></tr>
<tr class="separator:aae857197aecba8606c32296bc7bec308 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6bb8e4250586425631ef80063caf155 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#aa6bb8e4250586425631ef80063caf155">swap</a> (<a class="el" href="classflow_1_1log_1_1Log__context.html">Log_context</a> &amp;other)</td></tr>
<tr class="memdesc:aa6bb8e4250586425631ef80063caf155 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swaps <a class="el" href="classflow_1_1log_1_1Logger.html" title="Interface that the user should implement, passing the implementing Logger into logging classes (Flow&#39;...">Logger</a> pointers and <a class="el" href="classflow_1_1log_1_1Component.html" title="A light-weight class, each object storing a component payload encoding an enum value from enum type o...">Component</a> objects held by <code>*this</code> and <code>other</code>.  <a href="classflow_1_1log_1_1Log__context.html#aa6bb8e4250586425631ef80063caf155">More...</a><br /></td></tr>
<tr class="separator:aa6bb8e4250586425631ef80063caf155 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4db395042b065b00398cd59845dcb4d inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflow_1_1log_1_1Logger.html">Logger</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#af4db395042b065b00398cd59845dcb4d">get_logger</a> () const</td></tr>
<tr class="memdesc:af4db395042b065b00398cd59845dcb4d inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stored <a class="el" href="classflow_1_1log_1_1Logger.html" title="Interface that the user should implement, passing the implementing Logger into logging classes (Flow&#39;...">Logger</a> pointer, particularly as many <code>FLOW_LOG_*()</code> macros expect.  <a href="classflow_1_1log_1_1Log__context.html#af4db395042b065b00398cd59845dcb4d">More...</a><br /></td></tr>
<tr class="separator:af4db395042b065b00398cd59845dcb4d inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a5fef42dc2cedf3c0d1a6e83beb2948 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflow_1_1log_1_1Component.html">Component</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1log_1_1Log__context.html#a8a5fef42dc2cedf3c0d1a6e83beb2948">get_log_component</a> () const</td></tr>
<tr class="memdesc:a8a5fef42dc2cedf3c0d1a6e83beb2948 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns reference to the stored <a class="el" href="classflow_1_1log_1_1Component.html" title="A light-weight class, each object storing a component payload encoding an enum value from enum type o...">Component</a> object, particularly as many <code>FLOW_LOG_*()</code> macros expect.  <a href="classflow_1_1log_1_1Log__context.html#a8a5fef42dc2cedf3c0d1a6e83beb2948">More...</a><br /></td></tr>
<tr class="separator:a8a5fef42dc2cedf3c0d1a6e83beb2948 inherit pub_methods_classflow_1_1log_1_1Log__context"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classflow_1_1util_1_1Null__interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflow_1_1util_1_1Null__interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflow_1_1util_1_1Null__interface.html">flow::util::Null_interface</a></td></tr>
<tr class="memitem:a5916282577627e424a09884347eddbba inherit pub_methods_classflow_1_1util_1_1Null__interface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1util_1_1Null__interface.html#a5916282577627e424a09884347eddbba">~Null_interface</a> ()=0</td></tr>
<tr class="memdesc:a5916282577627e424a09884347eddbba inherit pub_methods_classflow_1_1util_1_1Null__interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boring <code>virtual</code> destructor.  <a href="classflow_1_1util_1_1Null__interface.html#a5916282577627e424a09884347eddbba">More...</a><br /></td></tr>
<tr class="separator:a5916282577627e424a09884347eddbba inherit pub_methods_classflow_1_1util_1_1Null__interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classflow_1_1async_1_1Single__thread__task__loop"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classflow_1_1async_1_1Single__thread__task__loop')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html">flow::async::Single_thread_task_loop</a></td></tr>
<tr class="memitem:a73d3462ff7f1759382d33476b7257f16 inherit pro_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflow_1_1async_1_1Concurrent__task__loop.html">Concurrent_task_loop</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a73d3462ff7f1759382d33476b7257f16">underlying_loop</a> ()</td></tr>
<tr class="memdesc:a73d3462ff7f1759382d33476b7257f16 inherit pro_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the underlying work-horse <a class="el" href="classflow_1_1async_1_1Concurrent__task__loop.html" title="The core flow::async interface, providing an optionally multi-threaded thread pool onto which runnabl...">Concurrent_task_loop</a>.  <a href="classflow_1_1async_1_1Single__thread__task__loop.html#a73d3462ff7f1759382d33476b7257f16">More...</a><br /></td></tr>
<tr class="separator:a73d3462ff7f1759382d33476b7257f16 inherit pro_methods_classflow_1_1async_1_1Single__thread__task__loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Identical to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a>, but all tasks posted through it are automatically timed, with the result accessible via <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>. </p>
<p >Using a <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html" title="Identical to Single_thread_task_loop, but all tasks posted through it are automatically timed,...">Timed_single_thread_task_loop</a> is identical to using <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a>; except &ndash; as with a <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop.html" title="Decorates a general – potentially multi-threaded – Concurrent_task_loop of any kind but with timing c...">Timed_concurrent_task_loop</a> vs. plain <a class="el" href="classflow_1_1async_1_1Concurrent__task__loop.html" title="The core flow::async interface, providing an optionally multi-threaded thread pool onto which runnabl...">Concurrent_task_loop</a> &ndash; any "naked" handler <code>F</code> passed directly to a boost.asio <code>async_...(..., F)</code> operation should be wrapped by <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#a37f2f0d5c163cc1d0b56213ebb080af0" title="See Timed_concurrent_task_loop_impl::asio_handler_timed().">asio_handler_timed()</a>, so that it too is timed. Hence it would become: <code>async_...(..., L-&gt;asio_handler_timed(F))</code>.</p>
<p >To access timing results use added API <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0318c7769d31232ec7b0c0ad0d8ad88f" name="a0318c7769d31232ec7b0c0ad0d8ad88f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0318c7769d31232ec7b0c0ad0d8ad88f">&#9670;&nbsp;</a></span>Timed_single_thread_task_loop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">flow::async::Timed_single_thread_task_loop::Timed_single_thread_task_loop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classflow_1_1log_1_1Logger.html">log::Logger</a> *&#160;</td>
          <td class="paramname"><em>logger_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1util.html#ae4dc52186797094b3040379ff19124c9">util::String_view</a>&#160;</td>
          <td class="paramname"><em>nickname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0">perf::Clock_type</a>&#160;</td>
          <td class="paramname"><em>clock_type</em> = <code><a class="el" href="namespaceflow_1_1perf.html#ad61fb186191e4bb824d14601d11a2eb0a93867c73fb6ef991268c0052153344c2">perf::Clock_type::S_CPU_THREAD_TOTAL_HI_RES</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs object, similarly to <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a> ctor; but with timing capabilities a-la <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop.html" title="Decorates a general – potentially multi-threaded – Concurrent_task_loop of any kind but with timing c...">Timed_concurrent_task_loop</a> ctor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">logger_ptr</td><td>See <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a> ctor. </td></tr>
    <tr><td class="paramname">nickname</td><td>See <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html" title="A Concurrent_task_loop-related adapter-style class that represents a single-thread task loop; essenti...">Single_thread_task_loop</a> ctor. </td></tr>
    <tr><td class="paramname">clock_type</td><td>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html" title="Decorator of a Concurrent_task_loop with same or greater lifetime that accumulates time elapsed in an...">Timed_concurrent_task_loop_impl</a> ctor. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae429fb31d17d422306cd9da398e53e5c" name="ae429fb31d17d422306cd9da398e53e5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae429fb31d17d422306cd9da398e53e5c">&#9670;&nbsp;</a></span>accumulated_time()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceflow_1_1perf.html#a38e42ae0923eb23052e3a8a1e7956456">perf::Duration</a> flow::async::Timed_single_thread_task_loop::accumulated_time </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a45c91b87a9906781479e2387f2f93573" title="Returns the accumulated time spent on tasks this thread pool handles since its last invocation; and r...">Timed_concurrent_task_loop_impl::accumulated_time()</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>See above. </dd></dl>

</div>
</div>
<a id="a37f2f0d5c163cc1d0b56213ebb080af0" name="a37f2f0d5c163cc1d0b56213ebb080af0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37f2f0d5c163cc1d0b56213ebb080af0">&#9670;&nbsp;</a></span>asio_handler_timed()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Handler &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto flow::async::Timed_single_thread_task_loop::asio_handler_timed </td>
          <td>(</td>
          <td class="paramtype">Handler &amp;&amp;&#160;</td>
          <td class="paramname"><em>handler_moved</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a9e915ee364537114a9e2f50574d960b7" title="Given a boost.asio completion handler handler for a boost.asio async_*() action on some boost....">Timed_concurrent_task_loop_impl::asio_handler_timed()</a>. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Handler</td><td>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a9e915ee364537114a9e2f50574d960b7" title="Given a boost.asio completion handler handler for a boost.asio async_*() action on some boost....">Timed_concurrent_task_loop_impl::asio_handler_timed()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler_moved</td><td>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a9e915ee364537114a9e2f50574d960b7" title="Given a boost.asio completion handler handler for a boost.asio async_*() action on some boost....">Timed_concurrent_task_loop_impl::asio_handler_timed()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See <a class="el" href="classflow_1_1async_1_1Timed__concurrent__task__loop__impl.html#a9e915ee364537114a9e2f50574d960b7" title="Given a boost.asio completion handler handler for a boost.asio async_*() action on some boost....">Timed_concurrent_task_loop_impl::asio_handler_timed()</a>. </dd></dl>

</div>
</div>
<a id="aafc6c8e2d94c5387bfd4e49795244feb" name="aafc6c8e2d94c5387bfd4e49795244feb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafc6c8e2d94c5387bfd4e49795244feb">&#9670;&nbsp;</a></span>post()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void flow::async::Timed_single_thread_task_loop::post </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1async.html#af35fb65bdea1a3a92929ec2c4a6a6b72">Task</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>task</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485">Synchronicity</a>&#160;</td>
          <td class="paramname"><em>synchronicity</em> = <code><a class="el" href="namespaceflow_1_1async.html#a0a06794b16b72f2829ce3353557c8485a4d7a5700444c0570af37b1f9bcc6eb1f">Synchronicity::S_ASYNC</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae" title="Cause the given Task (function) to execute within the worker thread as soon as the thread is free of ...">Single_thread_task_loop::post()</a> doc header for the essential documentation outside of timing.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">task</td><td>See superclass method. </td></tr>
    <tr><td class="paramname">synchronicity</td><td>See superclass method. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#adaf7dbd5fbd6ee7c886daabc7a6ad0ae">flow::async::Single_thread_task_loop</a>.</p>

</div>
</div>
<a id="a939142533e48fc54040825aad2010121" name="a939142533e48fc54040825aad2010121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a939142533e48fc54040825aad2010121">&#9670;&nbsp;</a></span>schedule_at()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a> flow::async::Timed_single_thread_task_loop::schedule_at </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceflow.html#a9d9cc2eeb10d398cff5591d446b763b8">Fine_time_pt</a> &amp;&#160;</td>
          <td class="paramname"><em>at</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>task</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0fff7cd79132c92a03e46be93f7f53b8" title="Equivalent to schedule_from_now() except one specifies an absolute time point instead of wait duratio...">Single_thread_task_loop::schedule_at()</a> doc header for the essential documentation outside of timing.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">at</td><td>See superclass method. </td></tr>
    <tr><td class="paramname">task</td><td>See superclass method. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See superclass method. </dd></dl>

<p>Reimplemented from <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a0fff7cd79132c92a03e46be93f7f53b8">flow::async::Single_thread_task_loop</a>.</p>

</div>
</div>
<a id="afed368e611529a648a7dd2999a89ab0d" name="afed368e611529a648a7dd2999a89ab0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afed368e611529a648a7dd2999a89ab0d">&#9670;&nbsp;</a></span>schedule_from_now()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceflow_1_1util.html#aa0d10f5a906b3229f48979aa43e9ff7e">util::Scheduled_task_handle</a> flow::async::Timed_single_thread_task_loop::schedule_from_now </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceflow.html#a48799f1263cdeedec125be51a3db2b79">Fine_duration</a> &amp;&#160;</td>
          <td class="paramname"><em>from_now</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceflow_1_1async.html#af8c06052dd887bc77444550a7c243154">Scheduled_task</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>task</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements superclass method but with the addition of timing of <code>task</code>, accessible through <a class="el" href="classflow_1_1async_1_1Timed__single__thread__task__loop.html#ae429fb31d17d422306cd9da398e53e5c" title="See Timed_concurrent_task_loop_impl::accumulated_time().">accumulated_time()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a2669021fe545a05ced370f09ce794f52" title="Equivalent to post() but execution is scheduled for later, after the given time period passes.">Single_thread_task_loop::schedule_from_now()</a> doc header for the essential documentation outside of timing.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">from_now</td><td>See superclass method. </td></tr>
    <tr><td class="paramname">task</td><td>See superclass method. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See superclass method. </dd></dl>

<p>Reimplemented from <a class="el" href="classflow_1_1async_1_1Single__thread__task__loop.html#a2669021fe545a05ced370f09ce794f52">flow::async::Single_thread_task_loop</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>async/<a class="el" href="single__thread__task__loop_8hpp.html">single_thread_task_loop.hpp</a></li>
<li>async/<a class="el" href="single__thread__task__loop_8cpp.html">single_thread_task_loop.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 28 2025 22:55:32 for Flow by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
